package com.spdg.ring.sqlite.model;

import java.io.Serializable;

import cn.wolf.sqlite.anotation.Column;
import cn.wolf.sqlite.anotation.Id;
import cn.wolf.sqlite.anotation.Table;
/**
 * <p>Title: 详细文章实体类     </p>
 * <p>Description: 
 * </p>
 * <p>@author: Eric.wsd                </p>
 * <p>Copyright: Copyright (c) 2012    </p>
 * <p>Company: HX Co., Ltd.          </p>
 * <p>Create Time: 2012-11-30             </p>
 * <p>Update Time:                     </p>
 * <p>Updater:                         </p>
 * <p>Update Comments:                 </p>
 */
@Table(name = "t_article")
public class Article implements Serializable {

	/**
	 * 
	 */
	private static final long serialVersionUID = 258901873252608805L;
	
	public static final String IS_ONLINE_ARTICLE = "true";

	@Id
	@Column(name = "id")
	private int id; // 自增ID
	
	@Column(name = "title", length = 80)
	private String title; // 文章标题
	
	@Column(name = "date", length = 20)
	private String date; // 文章发表时间
	
	@Column(name = "content")
	private String content; // 文章内容
	
	@Column(name = "file", length = 200)
	private String file; // file key
	
	@Column(name = "isOnline")
	private String isOnline;

	public int getId() {
		return id;
	}

	public void setId(int id) {
		this.id = id;
	}

	public String getTitle() {
		return title;
	}

	public void setTitle(String title) {
		this.title = title;
	}

	public String getDate() {
		return date;
	}

	public void setDate(String date) {
		this.date = date;
	}

	public String getContent() {
		return content;
	}

	public void setContent(String content) {
		this.content = content;
	}

	public String getFile() {
		return file;
	}

	public void setFile(String file) {
		this.file = file;
	}

	public String getIsOnline() {
		return isOnline;
	}

	public void setIsOnline(String isOnline) {
		this.isOnline = isOnline;
	}

}
